﻿using System.Web.UI;
using d3PrtDgn.Data.Domain.Entity;

namespace d3PrtDgn.DataSource
{
	/// <summary>
	/// Interface od category data source
	/// </summary>
	public interface ICategoryTreeDataSource : IHierarchicalEnumerable
	{
		/// <summary>
		/// Sets root category
		/// </summary>
		Category RootCategory { set; }

		/// <summary>
		/// Updates data in data source
		/// </summary>
		void Update();
	}
}
